'''
Created on 27/09/2012

@author: GabrielBacelar
'''

#Discrete random variable, finite case
def propbabilityFiniteCase(lst):
    """
        lst is a list of possible values with the same probabilities
    """
    prob = 0.0;
    for value in lst:
        prob += value*(1.0/len(lst))
    return prob


